package mww.javabean.service;

import java.util.List;
import java.util.Map;

import mww.common.ServiceException;
import mww.javabean.entity.Course;

public interface CourseService {
	//添加课程方法
		public void addCourse(Course course) throws ServiceException;
		//删除课程方法
		public void delCourse(String courseNo) throws ServiceException;
		//修改课程信息
		public void updateCourse(Course course) throws ServiceException;
		//根据课程编号查找课程
		public Course findCourseByCourseNo(String courseNo) throws ServiceException;
		//列表显示所有课程列表--分页
		public Map findAllCourse(int curPage) throws ServiceException;
		//列表显示所有课程列表
		public List findAllCourse() throws ServiceException;
		//多条件查询课程
		public List findAllCourseByMostCon(Course condition) throws ServiceException;
		//多条件查询课程-带分页
		public Map findAllCourseByMostCon(Course condition,int curPage) throws ServiceException;
		
		public int getTeacherTotality() throws ServiceException;
}
